//
//  DrawingPage.h
//  DemoDrawingShapesInCanvasUsingObjects
//
//  Created by duc nguyen van on 8/14/11.
//  Copyright 2011 STU. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "Line.h"
#import "Circle.h"
#import "Rectangle.h"
#import "Shapes.h"
#import "QuartzCore/QuartzCore.h"

enum TypeShapes {
	Rectangle_shape,
	Circle_shape,
	Line_shape,
	handle_shape
};

@interface DrawingPage : UIView <delegateShape>{
	enum TypeShapes type;
	
	NSMutableArray *arrViewShapes;
	
	CGPoint BPoint;
	CGPoint EPoint;
	CGPoint MPoint;
	
	UIView *vSelected;
}

@property (readwrite) enum TypeShapes type;
@end
